// import http from '@/request'

export function getMenus() {
    console.log(3)
    return [
                { name: '首页', icon: 'el-icon-s-home', path: '/dashboard' },
                { name: '网站', icon: 'el-icon-help', path: '/site' },
                { name: 'FTP', icon: 'el-icon-upload', path: '/ftp' },
                { name: '数据库', icon: 'el-icon-coin', path: '/database' },
                { name: '监控', icon: 'el-icon-s-marketing', path: '/' },
                { name: '安全', icon: 'el-icon-s-opportunity', path: '/safe' },
                { name: '文件', icon: 'el-icon-folder-opened', path: '/file' },
                { name: '计划任务', icon: 'el-icon-date', path: '/crontab' },
                { name: '软件商店', icon: 'el-icon-menu', path: '/soft' },
                { name: '面板设置', icon: 'el-icon-s-tools', path: '/setting' },
                { name: '退出', icon: 'el-icon-s-fold', path: '/exit' }
            ]
    // return http.get('/menu/index')
}
